package cn.bopomo.dealer.base.vo;

import org.apache.struts.action.ActionForm;

public class GroupForm extends ActionForm {

	private String groupName;

    /** persistent field */
    private String groupAuthorize;
    
    private cn.bopomo.dealer.base.vo.ModuleList moduleList;
    
    private Integer moduleId;

	public Integer getModuleId() {
		return moduleId;
	}

	public void setModuleId(Integer moduleId) {
		this.moduleId = moduleId;
	}

	public String getGroupAuthorize() {
		return groupAuthorize;
	}

	public void setGroupAuthorize(String groupAuthorize) {
		this.groupAuthorize = groupAuthorize;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public cn.bopomo.dealer.base.vo.ModuleList getModuleList() {
		if (this.moduleId != null){
			ModuleList module = new ModuleList();
			module.setMid(this.moduleId);
			this.moduleList = module;
		}
		
		return moduleList;
	}

	public void setModuleList(cn.bopomo.dealer.base.vo.ModuleList moduleList) {
		this.moduleList = moduleList;
	}
}
